]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Adopt GIO's async pattern
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 19 Jul 2018 13:54:33 +0000 (15:54 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 30 Jul 2018 16:55:09 +0000 (16:55 +0000)
commitda537cda4345374a68570846a91d8d5f2c836d7e
treeaef53a54b6a8b706803f2c07ae931a0e84b2b5d8
parent304c667bca9b303195f94e9d278c5f9d5bc7bcb7
screenshot: Adopt GIO's async pattern

A custom callback type is more convenient, but only as long as no
other callback type is required. We are about to add functionality
that does not return the filename to a screenshot saved on disk, so
prepare for that by moving to GIO's generic async callback pattern.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/286
js/ui/screenshot.js
src/shell-screenshot.c
src/shell-screenshot.h